import ajax from '../http';

export const fhirServerApi = (params) => {
  return ajax.put('/server?server=' + params.server)
};


export const fhirSearchApi = (params) => {
  return ajax.get('/search', {params})
};

export const fhirHistoryApi = (params) => {
  return ajax.get('/history', {params})
};

export const fhirDeleteApi = (params) => {
  return ajax.delete('/delete', {params})
};
